package com.xnyzc.lhy.order.service.system;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xnyzc.lhy.common.entity.Rv;
import com.xnyzc.lhy.order.entity.vehicle.OaSysVehicleMaintain;

/**
 * <p>
 * 车辆保养表 服务类
 * </p>
 *
 * @author lhy@xnyzc.com
 * @since 2019-07-24
 */
public interface IOaSysVehicleMaintainService extends IService<OaSysVehicleMaintain> {

    /**
     *
     * @param vehicleId
     * @param page
     * @param limit
     * @return
     */
    Rv vehicleMaintainList(Long vehicleId, Integer page, Integer limit);
    /**
     *
     * @param maintainId
     * @return
     */
    Rv getVehicleMaintain(Long maintainId);

    /**
     *
     * @param vehicleMaintain
     * @return
     */
    Rv addVehicleMaintain(OaSysVehicleMaintain vehicleMaintain);
}
